From: Lukáš Tyrychtr Date: Thu, 23 Mar 2023 13:59:01 +0000 (+0100) Subject: status/network: Fix a11y names for VPN connection menu items X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~371^2^2~64 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=95c0a88fe7ef04c29e1022b3743497ef429db1b1;p=gnome-shell.git status/network: Fix a11y names for VPN connection menu items Because of an omission, the VPN menu items never got its a11y name, so a screen reader was reporting that item only as a plain item without any label. Part-of: --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index c9c86a916..e3b9a5d45 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1274,6 +1274,7 @@ const NMVpnConnectionItem = GObject.registerClass({ this._label.x_expand = true; this.accessible_role = Atk.Role.CHECK_MENU_ITEM; this._icon.hide(); + this.label_actor = this._label; this._switch = new PopupMenu.Switch(this.is_active); this.add_child(this._switch);